import {HTTP} from '../utils/http'

class LoginApi extends HTTP {
    /**
     * 登录
     */
    login(data){
        return this.request({
            url: 'sys-user/login',
            data: data,
            method:'post'
        })
    }

    /**
     * 获取手机好接口
     */
    getPhoneNumber(data){
        return this.request({
            url: 'sys-user/getPhoneNumber',
            data: data,
            method:'post'
        })
    }
}
export default new LoginApi
